<template>
  <vieW v-for="(item, index) in dict"> 
    <el-tag  size="large" :type="item.tag" v-if="item.value === value">{{ item.label }}</el-tag>
  </vieW>
</template>
<script setup>
const props = defineProps({
  dict: {
    type: Array,
  },
  value: [String, Number],
});
</script>
